1 00:00:00,410 --> 00:00:04,640 Alrighty, now we are getting into the meat and potatoes of this course. 2 00:00:04,640 --> 00:00:09,380 Our final project is going to be a horror game that helps to teach us how we can structure the scripts 3 00:00:09,380 --> 00:00:12,170 in our game, in a professional and organized manner. 4 00:00:12,170 --> 00:00:16,280 That makes it easy for us to expand and create new scripts and content later on. 5 00:00:16,280 --> 00:00:22,640 This final project is going to teach us how to create a lobby for our game, complete with camera animations, 6 00:00:22,640 --> 00:00:27,770 lighting effects in the background, and giving our players the ability to create custom servers that 7 00:00:27,770 --> 00:00:29,570 other players or their friends can join. 8 00:00:29,570 --> 00:00:35,270 As you can see, we can create a server and customize it by changing the player count or by adding a 9 00:00:35,270 --> 00:00:36,680 password to the server. 10 00:00:37,100 --> 00:00:41,840 After our players have created and started, their server will teleport them all to a reserved server. 11 00:00:41,840 --> 00:00:44,240 To start the story section of our horror game. 12 00:00:44,240 --> 00:00:49,370 In our story section, we have a nice intro scene to greet all of the players and give them some context 13 00:00:49,370 --> 00:00:50,510 for the story. 14 00:00:54,860 --> 00:00:59,810 And we also have their cameras animate along with this bus that will be transporting them to the Krusty 15 00:00:59,810 --> 00:01:00,230 Krab. 16 00:01:00,470 --> 00:01:06,260 We'll learn to create custom doors with a custom tween service, and will also script a typewriting 17 00:01:06,260 --> 00:01:11,180 effect on the screen to further improve our story and immersion in our game. 18 00:01:11,180 --> 00:01:16,070 From this point, we have a section in our story where our players must complete some basic tasks that 19 00:01:16,070 --> 00:01:22,040 get updated in the top right of our screen, and then once either the timer goes out or all of our tasks 20 00:01:22,040 --> 00:01:26,900 are complete, we then flicker all of the lights inside of the building, and then we cut out the power 21 00:01:26,900 --> 00:01:29,270 to force the players to enter into the basement. 22 00:01:29,270 --> 00:01:34,340 We also have a system where some random money items are scattered around the map that the players can 23 00:01:34,340 --> 00:01:35,690 collect to earn some money. 24 00:01:35,720 --> 00:01:40,640 Once the players start to go down the stairs, we have their cameras cut to another scene to show them 25 00:01:40,640 --> 00:01:44,000 that they are now trapped in the basement and must find their way out. 26 00:01:44,000 --> 00:01:49,370 We have lockers that players are able to hide in, and we also have batteries scattered around the basement 27 00:01:49,370 --> 00:01:52,130 that players can use to recharge their flashlight. 28 00:01:52,130 --> 00:01:58,280 Inside of our basement, we have a scary I Squidward monster that chases around our players and jumpscares 29 00:01:58,280 --> 00:02:03,770 them while our players try to find a key to open a door in the basement and restore the power. 30 00:02:03,770 --> 00:02:08,840 If any of our players die, we place them inside of a spectating system where they are able to watch 31 00:02:08,840 --> 00:02:14,030 other players and even purchase a developer product if they want to respond back into the map. 32 00:02:14,710 --> 00:02:19,660 Once the players have restored the power, we can start a timer for the players to escape before they 33 00:02:19,660 --> 00:02:20,380 lose. 34 00:02:20,590 --> 00:02:25,420 Once the players reach the exit door and escape, we display some stats on the screen and then we can 35 00:02:25,420 --> 00:02:27,250 teleport them back to the lobby. 36 00:02:27,280 --> 00:02:32,830 All of the code and the completed game will be attached to the lectures, so you don't get lost along 37 00:02:32,830 --> 00:02:33,430 the way. 38 00:02:33,460 --> 00:02:38,140 If you're ready to jump into this big project, then I will see you in the next lecture.